package com.shoutao.website.utils;

/**
 * Created by cqin on 2019/11/4.
 */
public class GenResult {

    private Boolean result;
    private String resultCode;
    private String resultMessage;

    public Boolean getResult() {
        return result;
    }

    public void setResult(Boolean result) {
        this.result = result;
    }

    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMessage() {
        return resultMessage;
    }

    public void setResultMessage(String resultMessage) {
        this.resultMessage = resultMessage;
    }

    /**
     *
     * @param result
     * @param resultCode
     * @param resultMessage
     */
    public GenResult(Boolean result, String resultCode, String resultMessage) {
        this.result = result;
        this.resultCode = resultCode;
        this.resultMessage = resultMessage;
    }

    /**
     *
     * @param resultCode
     * @param resultMessage
     */
    public GenResult(String resultCode, String resultMessage) {
        this.result = true;
        this.resultCode = resultCode;
        this.resultMessage = resultMessage;
    }

    public GenResult(){

    }

}
